<!--
  Generated template for the ShopPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar color="primary" text-center>
    <ion-title>店铺信息</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-grid mode="ios" no-padding style="background-color: #488aff">
    <ion-row style="margin-bottom: 2px">
      <ion-col col-80 no-padding align-self-center>
        <ion-input [(ngModel)]="searchtext" clearInput='true' style="float: right;width: 95%;background-color: white;padding-left:10px;"
          type="text" placeholder="搜索"></ion-input>
      </ion-col>
      <ion-col col-2 no-padding style="text-align: center;">
        <button ion-button icon-only style="background-color: #488aff;" (click)="getshoplist()">
          <ion-icon name="search"></ion-icon>
        </button>
      </ion-col>
    </ion-row>
  </ion-grid>
  <div style="height: 10px;"></div>

  <ion-list>
    <ion-item detail-push *ngFor="let shop  of shoplist" (click)="shopdetail(shop.userid)">
      {{shop.name}}
    </ion-item>
  </ion-list>
</ion-content>
